package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.TravelComment;
import cn.wolfcode.luowowo.domain.User;
import cn.wolfcode.luowowo.query.TravelCommentQuery;
import cn.wolfcode.luowowo.vo.CatalogVO;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 游记评论业务接口
 */
public interface ITravelCommentService {

    TravelComment get(String id);
    //新增
    void save(TravelComment travelComment , User user);
    //删除
    void delete(String id);
    //分页查询
    Page<TravelComment> list(TravelCommentQuery qo);

    List<TravelComment> queryByTravelId(TravelCommentQuery qo);
}

